/*
 * WinApp.cpp
 *
 *  Created on: 2012-12-18
 *      Author: yangentao@gmail.com
 */

#include <assert.h>
#include <boost/bind.hpp>
#include "WinApp.h"
#include "win32.h"

namespace yet {

WinApp::WinApp() {
//	assert(isMainThread());
	mainWnd = 0;
}

WinApp::~WinApp() {
}
HWND WinApp::getMainWindow() {
	return mainWnd;
}

int WinApp::loop() {
	return Super::loop();
}
int WinApp::loop(HWND mainWindow) {
	mainWnd = mainWindow;
	return Super::loop();
}
} /* namespace yet */
